<include file="Public:header" />
<script type="text/javascript" src="__PUBLIC__/admin/js/engine.js"></script>
<script type="text/javascript" src="__PUBLIC__/admin/js/jq_validate.js"></script>
<script type="text/javascript">
$(function(){
	$('#change_desc').validate('required','请填写帐户变动原因').validate();
	$('#dataForm').submitValidate();	
});
</script>
<body class="mainBackground">
	<include file="Public:menu" />
	<div class="main" id="mainContainer">
        <!--发布-->
    	<div class="content_box">
        	<div class="content_box_t">
            	<h3 class="fl">
                调节会员帐户
            </div>
            <div class="content_box_c">
            	<form action="__ACTION__" method="post" id="dataForm" name="dataForm">                                        
                	<div class="field">
						<label>当前会员</label>
                        {$data.username}
					</div>                   
                     <div class="field pt15">
						<label>帐户变动原因</label>
                        <input class="text_input long_input" type="text" name="change_desc" id="change_desc" value=""/>
                        <span class="input_notification  png_bg" id="change_descTip"></span>
						<small>必填</small>
					</div>
                    <div class="field pt15">
                        <label>可用资金帐户</label>
                        <select class="public_dropdown w10_input" id="user_money_action" name="user_money_action">
                            <option value="+">增加</option>
                            <option value="-">减少</option>
                        </select>
                        <input class="text_input w5_input" type="text" name="user_money" id="user_money" value="0" /><span class="pl10">当前值：{$data.user_money}元</span>
                    </div>
                    <div class="field pt15">
                        <label>消费积分帐户</label>
                        <select class="public_dropdown w10_input" id="pay_points_action" name="pay_points_action">
                            <option value="+">增加</option>
                            <option value="-">减少</option>
                        </select>
                        <input class="text_input w5_input" type="text" name="pay_points" id="pay_points" value="0" /><span class="pl10">当前值：{$data.pay_points}</span>
                    </div>                                                                                             
                    <div class="field pt15 clearfix">
                    	<input type="hidden" name="id" value="{$data.id}"/>   
                    	<input type="submit" value="提交" class="public_button fr" />
                    </div>                                                                               
                </form>
            </div>
        </div>            
        <!--发布结束-->
    </div>
</body>
</html>
